﻿using System;
using System.Collections.Generic;
using System.Text;
using com.lover.astd.common.model;
using com.lover.astd.common.model.enumer;

namespace com.lover.astd.common.manager
{
    public class EnumString
    {
        public static string getString(ServerType tp)
        {
            string result = "";
            switch (tp)
            {
                case ServerType.Custom: result = "自定义"; break;
                case ServerType.YaoWan: result = "要玩"; break;
                case ServerType._360: result = "360"; break;
                case ServerType.PPS: result = "PPS"; break;
                case ServerType.DuoWan: result = "多玩"; break;
                case ServerType._37Wan: result = "37玩"; break;
                case ServerType.ZhuLang: result = "逐浪"; break;
                case ServerType.HuanLang: result = "幻浪"; break;
                case ServerType.Baidu: result = "百度"; break;
                case ServerType._178: result = "178"; break;
                case ServerType.Aoshitang: result = "傲世堂"; break;
                case ServerType._51Wan: result = "51玩"; break;
                case ServerType.ISpeak: result = "ISpeak"; break;
                case ServerType.IFeng: result = "凤凰"; break;
                case ServerType._8ZY: result = "八爪鱼"; break;
                case ServerType.XdWan: result = "兄弟玩"; break;
                case ServerType._4399: result = "4399"; break;
                case ServerType._6711: result = "6711"; break;
                case ServerType._6998: result = "6998"; break;
                case ServerType.KuWan8: result = "酷玩吧"; break;
                case ServerType.PeiYou: result = "陪游"; break;
                case ServerType.VeryCd: result = "电驴"; break;
                case ServerType.WebXGame: result = "E侠"; break;
                case ServerType.TgBus: result = "电玩巴士"; break;
                case ServerType._56uu: result = "56uu"; break;
                case ServerType.Jinjuzi: result = "金桔网"; break;
                case ServerType._3896: result = "3896"; break;
                case ServerType.Uz73: result = "悠哉游戏"; break;
                case ServerType.MiYou: result = "蜜柚游戏"; break;
                case ServerType.RenRen: result = "人人网"; break;
                case ServerType.Kunlun: result = "昆仑"; break;
                case ServerType.NiuA: result = "牛A"; break;
                case ServerType.Game2: result = "哥们"; break;
                case ServerType._91: result = "91游戏"; break;
                case ServerType.Cga: result = "浩方游戏"; break;
                case ServerType.Plu: result = "PLU"; break;
                case ServerType._53Wan: result = "53玩"; break;
                case ServerType._789hi: result = "玉米游戏"; break;
                //case ServerType._51: result = "51游戏"; break;
                //case ServerType._29ww: result = "29ww"; break;
                //case ServerType.Qidian: result = "起点游戏"; break;
                default: result = tp.ToString(); break;
            }
            return result;
        }
        public static string getString(AccountStatus status)
        {
            string result = "";
            switch (status)
            {
                case AccountStatus.ConfigMissing: result = "参数未配置"; break;
                case AccountStatus.NotStart: result = "挂机未运行"; break;
                case AccountStatus.LoadLogin: result = "加载登录页"; break;
                case AccountStatus.PostLogin: result = "用户登录中"; break;
                case AccountStatus.RedirectGame: result = "跳转到游戏"; break;
                case AccountStatus.LoadGame: result = "游戏加载中"; break;
                case AccountStatus.WaitRunning: result = "等待挂机.."; break;
                case AccountStatus.Running: result = "挂机运行中"; break;
                case AccountStatus.Stopped: result = "挂机停止中"; break;
                case AccountStatus.WaitForRelogin: result = "等待重登录"; break;
                default: result = ""; break;
            }
            return result;
        }
    }
}
